package com.zzyl.nursing.service;

import java.util.List;
import com.zzyl.nursing.domain.Device;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zzyl.nursing.dto.DeviceDto;
import com.zzyl.nursing.vo.DeviceDataVo;
import com.zzyl.nursing.vo.DeviceDetailVo;
import com.zzyl.nursing.vo.ProductVo;

/**
 * 设备信息Service接口
 * 
 * @author fhy
 * @date 2025-10-17
 */
public interface IDeviceService extends IService<Device>
{


    /**
     * 查询设备信息列表
     * 
     * @param device 设备信息
     * @return 设备信息集合
     */
    public List<Device> selectDeviceList(Device device);


    void syncProductList();

    List<ProductVo> allProduct();

    void registerDevice(DeviceDto deviceDto);

    DeviceDetailVo deviceDetail(String iotId);

    List<DeviceDataVo> queryServiceProperties(String iotId);


    void deleteDevice(String iotId);

    void updateDevice(DeviceDto dto);
}
